package edu.hunau.cxb19.oop.class31;

import edu.hunau.cxb19.oop.class31.account.Account;
import edu.hunau.cxb19.oop.class31.account.DrawMoney;

/**
 *
 * @author hb
 *
 *         2020-04-14 15:57:44
 */
public class TestAccount {

	public static void main(String[] args) {

		Account account = new Account("ICBC", 1000);

		// 定义一个线程取款
		DrawMoney zs = new DrawMoney("张三", account, 800);
		DrawMoney ls = new DrawMoney("李四", account, 500);

		zs.start();
		ls.start();
	}
}
